﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SliderControl.ascx.cs"
    Inherits="Controls_SliderControl" %>
<%--<div id="wrapper">
    <div class="slider-wrapper theme-default">
        <div class="ribbon">
        </div>
        <div id="slider" class="nivoSlider">
            <img src="Images/Slider/toystory.jpg" alt="" />
            <a href="http://dev7studios.com">
                <img src="Images/Slider/up.jpg" alt="" title="This is an example of a caption" /></a>
            <img src="Images/Slider/walle.jpg" alt="" data-transition="slideInLeft" />
            <img src="Images/Slider/nemo.jpg" alt="" title="#htmlcaption" />
        </div>
        <div id="Div2" class="nivo-html-caption">
            <strong>This</strong> is an example of a <em>HTML</em> caption with <a href="#">a link</a>.
        </div>
    </div>
</div>--%>
<asp:ListView ID="SliderGrid" runat="server" DataKeyNames="SliderID" DataSourceID="Slider_EntityDataSource">
    <LayoutTemplate>
        <div class="slider-wrapper theme-default">
            <div class="ribbon">
            </div>
            <div id="slider" class="nivoSlider">
                <a runat="server" id="itemPlaceholder"></a>
            </div>
        
        </div>
    </LayoutTemplate>
    <ItemTemplate>
        <a href="#">
            <img src="<%#Eval("ImageUrl") %>" alt="<%#Eval("Caption")%>" title="<%#Eval("Caption")%>" /></a>
    </ItemTemplate>
</asp:ListView>
<asp:EntityDataSource ID="Slider_EntityDataSource" runat="server" ConnectionString="name=WebLoBooEntities"
    DefaultContainerName="WebLoBooEntities" EnableFlattening="False" EntitySetName="SliderPhotoes">
</asp:EntityDataSource>
